package com.qf.web_last.Mapper;
import com.qf.web_last.Entirty.User;
import com.qf.web_last.Entirty.UserDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 宝剑锋自磨砺出，梅花香自苦寒来
 *
 * @Author:mchao
 * @Time:2025/9/29
 */

public interface UserMapper {
    User login(UserDTO userDTO);
    List<User> getStudents();


    int getUserByUsername(String username);

    int register(UserDTO userDTO);


    int addStudent(User  user);

    int deleteStudent(User user);

    List<User> searchStudent(User user);

    int updateStudent(User user);

    int getStuNumber(Integer sex);
}
